From: chris@kneesaa.uk.xensource.com Date: Fri, 4 Aug 2006 09:20:33 +0000 (+0100) Subject: [qemu patches] Update patches for changeset 10929:4dd640c6ce57. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15732^2~67 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=e71d659c42d2b287eef75426ac81be0efc09986e;p=xen.git [qemu patches] Update patches for changeset 10929:4dd640c6ce57. Signed-off-by: Christian Limpach --- diff --git a/tools/ioemu/patches/qemu-fix-memset-args b/tools/ioemu/patches/qemu-fix-memset-args new file mode 100644 index 0000000000..6fa83c22e5 --- /dev/null +++ b/tools/ioemu/patches/qemu-fix-memset-args @@ -0,0 +1,18 @@ +Index: ioemu/audio/audio.c +=================================================================== +--- ioemu.orig/audio/audio.c 2006-07-14 13:43:45.000000000 +0100 ++++ ioemu/audio/audio.c 2006-08-04 10:18:17.243240246 +0100 +@@ -597,11 +597,11 @@ + } + + if (info->sign) { +- memset (buf, len << info->shift, 0x00); ++ memset (buf, 0x00, len << info->shift); + } + else { + if (info->bits == 8) { +- memset (buf, len << info->shift, 0x80); ++ memset (buf, 0x80, len << info->shift); + } + else { + int i; diff --git a/tools/ioemu/patches/series b/tools/ioemu/patches/series index 4e4b48c508..ce2cf0b70a 100644 --- a/tools/ioemu/patches/series +++ b/tools/ioemu/patches/series @@ -38,3 +38,4 @@ vnc-access-monitor-vt xenstore-block-device-config xenstore-write-vnc-port qemu-allow-disable-sdl +qemu-fix-memset-args